package com.dlc.felear.xiaoensale.entity;

import java.util.List;

public class GoodsOrder {

    /**
     * data : {"action":1,"goodsId":"156f937ad0dd438fabe625945e3ed5f4","scaleNumber":1,"weight":203}
     * door : 0
     * macno : 444c5845170784cf64438eab
     * notify_url : http://maker.sayimo.cn/info/getDeviceInfo
     * type : opendoor
     * userId : US023570984090260
     */

    private List<DataBean> data;
    private int door;
    private String macno;
    private String notify_url;
    private int options;
    private String type;
    private String userId;

    public int getOptions() {
        return options;
    }

    public void setOptions(int options) {
        this.options = options;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public int getDoor() {
        return door;
    }

    public void setDoor(int door) {
        this.door = door;
    }

    public String getMacno() {
        return macno;
    }

    public void setMacno(String macno) {
        this.macno = macno;
    }

    public String getNotify_url() {
        return notify_url;
    }

    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public static class DataBean {
        public DataBean() {
        }

        /**
         * action : 1
         * goodsId : 156f937ad0dd438fabe625945e3ed5f4
         * scaleNumber : 1
         * weight : 203
         */

        private int action;
        private String goodsId;
        private int scaleNumber;
        private int weight;
        private int quantity;

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }

        public DataBean(int action, String goodsId, int scaleNumber, int weight, int quantity) {
            this.action = action;
            this.goodsId = goodsId;
            this.scaleNumber = scaleNumber;
            this.weight = weight;
            this.quantity = quantity;
        }

        public int getAction() {
            return action;
        }

        public void setAction(int action) {
            this.action = action;
        }

        public String getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(String goodsId) {
            this.goodsId = goodsId;
        }

        public int getScaleNumber() {
            return scaleNumber;
        }

        public void setScaleNumber(int scaleNumber) {
            this.scaleNumber = scaleNumber;
        }

        public int getWeight() {
            return weight;
        }

        public void setWeight(int weight) {
            this.weight = weight;
        }
    }
}
